package com.chuangsi.project.admin.dto.app;

import cn.hutool.core.date.LocalDateTimeUtil;
import com.chuangsi.common.utils.LocalDateTimeUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author wangshengming
 * @date 2023/3/28
 */
@Data
public class ResAppletsOrderPageDto {

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "印章名称")
    private String sealName;

    @ApiModelProperty(value = "交易金额")
    private BigDecimal money;

    @ApiModelProperty(value = "销售人")
    private String nickName;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "客户名称")
    private String customName;

    @ApiModelProperty(value = "客户联系方式")
    private String customPhone;

    @ApiModelProperty(value = "客户身份证号")
    private String customIdCard;

    @ApiModelProperty(value = "是否自己购买")
    private String ourselfBuy;

    @ApiModelProperty(value = "新车发票价格")
    private String carInvoicePrice;

    @ApiModelProperty(value = "审核状态（1.待审核，2.通过，3.已驳回，4.申请退保，5.已退保 6.退保驳回）")
    private String appStatus;

    @ApiModelProperty(value = "申请发票状态（1.未申请 2.已申请 3.已开具）")
    private Integer invoiceStatus;

    @ApiModelProperty(value = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付方式（1：线上 2：线下）")
    private Integer orderType;

    @ApiModelProperty(value = "支付截图（线下支付独有）")
    private String offlinePayPics;

    @ApiModelProperty(value = "发票地址（用,隔开）")
    private String invoiceUris;

}
